#ifndef __SCREEN_H
#define __SCREEN_H

#include "defs.h"

class Client;

class MyScreen : public QObject
{
public:
	MyScreen(int num, unsigned long event_mask, bool replace_wm, QObject *parent = 0);
    ~MyScreen();

	void init(unsigned long event_mask, bool replace_wm);

	bool checkWMAtom(Atom atom);
	void setWMAtom();


    //Screen data
    Colormap cmap;
    int depth;
    int width;
    int height;
    Visual *visual;
    Display *dpy;

    Window xroot;
    QWidget *wmwindow;

    int screenNum;
    int currentWS;
    int prevWS;

	bool initialized;
};

#endif
